package com.wdd.tools.mvp.contract

import com.wdd.libbase.mvp.IModel
import com.wdd.libbase.mvp.IPresenter
import com.wdd.libbase.mvp.IView
import io.reactivex.Observable


/**
 * Created by QingMei on 2017/12/5.
 * desc:
 */
interface MvpContract {
    interface View : IView {
        fun showBaidu(content: String?)
    }

    interface Presenter : IPresenter {
        fun obtainBaidu()
        fun obtainUser()
    }

    interface Model : IModel {
        fun obtainBaidu(): Observable<String>
        fun obtainUser()
    }
}